package com.passion.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 类描述：验证码VO
 *
 * @author ZhuYin
 * @since 2024年12月26日
 */
@ApiModel(value = "验证码VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CaptchaVO {

    @ApiModelProperty(name = "验证码对应的key")
    private String verifyCodeKey;

    @ApiModelProperty(name = "验证码串")
    private String verifyCode;

    @ApiModelProperty(name = "验证码过期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expireTime;

}
